# ###############################################
# Detect some compilers.

IF( "${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC" )
	SET( COMPILER_MSVC ON )
ELSEIF( "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Intel" )
	SET( COMPILER_INTEL ON )
ELSEIF( "${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" )
	SET( COMPILER_GNU ON )
ELSEIF( "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang" )
	SET( COMPILER_CLANG ON )
ELSE()
	SET( COMPILER_UNKNOWN ON )
ENDIF()
